import subprocess


async def execute_ffmpeg(cmds: list[str]) -> str:
    result = subprocess.run(["ffmpeg"] + cmds, capture_output=True, text=True, check=True)
    return result.stdout
